mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
41 lines
1.2 KiB
41 lines
1.2 KiB
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "enum-descriptor.schema.json",
|
|
"title": "EnumDescriptor",
|
|
"description": "Describes an enum definition for use in entity properties",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Unique name for the enum",
|
|
"minLength": 1
|
|
},
|
|
"values": {
|
|
"type": "array",
|
|
"description": "List of enum values",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Display name of the enum value"
|
|
},
|
|
"value": {
|
|
"type": "integer",
|
|
"description": "Integer value (auto-assigned if omitted)"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"values"
|
|
],
|
|
"additionalProperties": false
|
|
}
|