Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 39 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"whatwg-fetch": "1.0.0"
},
"dependencies": {
"ajv": "^4.11.7",
"bs58": "^4.0.1",
"dotenv": "^2.0.0",
"ethereumjs-testrpc": "^4.1.3",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/announcements.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description":"Distributed Nextdoor",
"type": "object",
"required": ["name","category","description"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand All @@ -34,8 +34,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"pictures": {
"type": "array",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/for-sale.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description":"Distributed Craigslist/Ebay/Amazon",
"type": "object",
"required": ["name","category","description","price"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand Down Expand Up @@ -64,8 +64,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"location": {
"type": "string",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/housing.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description": "Distributed Airbnb",
"type": "object",
"required": ["name","category","description","price"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand All @@ -32,8 +32,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"location": {
"type": "string",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/services.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description": "Distributed Elance/99 Designs/Postmates/Fiver/Handy/Thumbtack",
"type": "object",
"required": ["name","category","description","price"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand Down Expand Up @@ -37,8 +37,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"location": {
"type": "string",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/tickets.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description": "Distributed Ticketmaster/Eventbrite",
"type": "object",
"required": ["name","category","description","price"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand Down Expand Up @@ -38,8 +38,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"price": {
"type": "number",
Expand Down
10 changes: 5 additions & 5 deletions public/schemas/transportation.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema":"http://json-schema.org/draft-04/schema#",
"$schema":"http://json-schema.org/draft-06/schema#",
"description": "Distributed Getaround",
"type": "object",
"required": ["name","category","description","price"],
"properties": {
"name": {
"type": "string",
"title": "Title",
"minLength": "3",
"maxLength": "100"
"minLength": 3,
"maxLength": 100
},
"category": {
"type": "string",
Expand All @@ -26,8 +26,8 @@
"description": {
"type": "string",
"title": "Description",
"minLength": "10",
"maxLength": "1024"
"minLength": 10,
"maxLength": 1024
},
"location": {
"type": "string",
Expand Down