1{
2 "name": {
3 "plural": "cars",
4 "singular": "car"
5 },
6 "alias": {
7 "plural": "automobiles",
8 "singular": "automobile"
9 },
10 "category": [
11 {
12 "name": "sedan",
13 "description": "A passenger vehicle with four doors",
14 "subCategory": [
15 "compact",
16 "mid-size",
17 "full-size"
18 ]
19 }
20 ],
21 "attributes": [
22 {
23 "alias": "brand",
24 "name": "make",
25 "description": "The manufacturer of the vehicle",
26 "isReadPublic": true,
27 "tag": [
28 "info",
29 "specs"
30 ],
31 "dataType": "string",
32 "indexed": true,
33 "defaultValue": "",
34 "validation": {
35 "range": {
36 "min": 0,
37 "max": 0
38 },
39 "regex": "^[A-Za-z0-9\\s]{1,50}$",
40 "valueOneOf": [
41 "Toyota",
42 "Honda",
43 "Ford",
44 "Chevrolet"
45 ],
46 "required": true
47 }
48 },
49 {
50 "alias": "model",
51 "name": "model",
52 "description": "The specific model of the vehicle",
53 "isReadPublic": true,
54 "tag": [
55 "info",
56 "specs"
57 ],
58 "dataType": "string",
59 "indexed": true,
60 "defaultValue": "",
61 "validation": {
62 "range": {
63 "min": 0,
64 "max": 0
65 },
66 "regex": "^[A-Za-z0-9\\s]{1,50}$",
67 "valueOneOf": [],
68 "required": true
69 }
70 },
71 {
72 "alias": "year",
73 "name": "manufacturingYear",
74 "description": "The year the vehicle was manufactured",
75 "isReadPublic": true,
76 "tag": [
77 "info",
78 "specs"
79 ],
80 "dataType": "number",
81 "indexed": true,
82 "defaultValue": 0,
83 "validation": {
84 "range": {
85 "min": 1900,
86 "max": 2023
87 },
88 "regex": "",
89 "valueOneOf": [],
90 "required": true
91 }
92 }
93 ],
94 "coreAttributes": [
95 {
96 "name": "uniqueCode",
97 "alias": "VIN"
98 }
99 ],
100 "callback": {
101 "url": "https://example.com/callback",
102 "meta": {
103 "authToken": "abcdef123456"
104 }
105 },
106 "isStateMachineEnabled": true,
107 "events": [
108 "created",
109 "updated",
110 "deleted"
111 ],
112 "entityCode": "CAR",
113 "terminalTTL": "1h",
114 "enableOrchestrator": true
115}