You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
786 B
33 lines
786 B
<?php
|
|
|
|
namespace App\DeegraphSchemas;
|
|
|
|
use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocument;
|
|
use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentField;
|
|
use Darksparrow\AuxiliumSchemaBuilder\Enumerators\SchemaFieldExistence;
|
|
|
|
#[SchemaDocument(
|
|
Name : "Tune",
|
|
MaxSize: 0,
|
|
Comment: "",
|
|
)]
|
|
class TuneSchema
|
|
{
|
|
#[SchemaDocumentField(
|
|
Name : "Title",
|
|
Existence: SchemaFieldExistence::MUST,
|
|
Comment : "",
|
|
MaxSize : 2048,
|
|
MimeType : "text/plain",
|
|
)]
|
|
public string $Title;
|
|
|
|
#[SchemaDocumentField(
|
|
Name : "Copyright",
|
|
Existence: SchemaFieldExistence::SHOULD,
|
|
Comment : "",
|
|
MaxSize : 2048,
|
|
MimeType : "text/plain",
|
|
)]
|
|
public string $Copyright;
|
|
}
|
|
|