wip.lexicon.marketplace.listing
edited
1{
2 "lexicon": 1,
3 "id": "wip.lexicon.marketplace.listing",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A generic listing of some sort",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": ["name", "description", "region", "createdAt"],
12 "properties": {
13 "name": {
14 "type": "string",
15 "description": "The name of the listing"
16 },
17 "description": {
18 "type": "string",
19 "description": "The description of the listing"
20 },
21 "region": {
22 "type": "string",
23 "description": "Where the listing is located generally"
24 },
25 "postalCode": {
26 "type": "string",
27 "description": "A more specific location identifier"
28 },
29 "price": {
30 "type": "string",
31 "description": "How much the listing is"
32 },
33 "offers": {
34 "type": "bool",
35 "description": "Whether offers are accepted for this listing"
36 },
37 "createdAt": {
38 "type": "string",
39 "format": "datetime"
40 },
41 }
42 }
43 }
44 }
45}