-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster-data-record.json
56 lines (56 loc) · 1.09 KB
/
master-data-record.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"definitions": {
"MasterDataRecordType": {
"type": "object",
"properties": {
"expiration": {
"type": "string",
"format": "date-time"
},
"description": {
"$ref": "#/definitions/LocalizedTextType"
},
"title": {
"type": "string"
},
"value": {
"type": "string"
},
"actif": {
"type": "boolean",
"default": false
},
"reference": {
"$ref": "#/definitions/ReferenceType"
}
},
"required": [
"reference",
"title",
"actif"
]
},
"ReferenceType": {
"pattern": "^[a-zA-Z0-9\\-_\\.]{0,36}$",
"type": "string"
},
"LocalizedTextType": {
"properties": {
"lang": {
"$ref": "#/definitions/LangType"
},
"value": {
"type": "string"
}
},
"type": "object",
"required": [
"value"
]
},
"LangType": {
"type": "string"
}
},
"$ref": "#/definitions/MasterDataRecordType"
}