mirror of
https://github.com/ditkrg/dit-json-schema-extended-specifications.git
synced 2026-01-22 14:26:43 +00:00
Remove __enumFor and change __enumFrom into array of fields
This commit is contained in:
parent
2f8c309b13
commit
99804a1b80
@ -14,8 +14,7 @@ The DIT extension for JSON Schema is an effort to make more JSON Schema-based fo
|
||||
| --------------- | ------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ----------------------- |
|
||||
| __isUpload | boolean | Used to indicate that a field is an upload field | **API** for pre-signature. Client for loading the upload aread | |
|
||||
| __labels | Object (Appendix 1) | Used to hold localization data | **Client** uses to display | |
|
||||
| __enumFrom | String | Used to indicate where enum data comes from | **Client** to create an enum for the specified field in real-time while the other fields with the selector of "enumFrom"are being filled out. | __enumFor |
|
||||
| __enumFor | String | Used to indicate where enum data goes to | **Client** as a source of enum data for any field that has the selector "enumFor". Used in conjunction with __enumFrom | __enumFrom |
|
||||
| __enumFrom | array | Used to indicate where enum data comes from | **Client** to create an enum for the specified field in real-time while the other fields with the selector of "enumFrom"are being filled out. | |
|
||||
| __validationApi | String | Used to indicate that the field needs to be validated by an external API. The value of the field is the URL to the API. | **APIs** to make HTTP calls to the external APIs. | |
|
||||
|
||||
|
||||
@ -35,4 +34,3 @@ The DIT extension for JSON Schema is an effort to make more JSON Schema-based fo
|
||||
required: ["ckb", "ar", "en"]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user