Skip to content

Commit

Permalink
Adding format methods to test html5 and pre-geojson map
Browse files Browse the repository at this point in the history
  • Loading branch information
JJediny committed Dec 17, 2015
1 parent 2c465ba commit 0e31935
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h2>Code</h2>
title: "Categories",
description: "validate agaisnt a list of options",
type: "string",
enum: ["random","words","random","options","agaisnt","swappable list"],
enum: ["Animals", "Archeology", "Astronomy & Space", "Biology", "Birds", "Chemistry", "Climate & Weather", "Computers & Technology", "Disaster Response", "Ecology & Environment", "Education", "Food", "Geology & Earth Science", "Health & Medicine", "Insects", "Nature & Outdoors", "Ocean & Water", "Physics", "Psychology", "Science Policy", "Transportation"],
default: "swappable list"
},
keywords: {
Expand Down Expand Up @@ -296,7 +296,9 @@ <h2>Code</h2>
},
geojson: {
type: "string",
title: "Geojson"
title: "Geojson",
description: "Copy/Paste or URL",
format: "geojson"
},
lat: {
type: "string",
Expand Down Expand Up @@ -338,21 +340,25 @@ <h2>Code</h2>
to: {
type: "string",
title: "Date from",
format: "date",
default: "YYYY-MM-DD"
},
from: {
type: "string",
title: "Date to",
format: "date",
default: "YYYY-MM-DD"
},
estimated: {
type: "string",
title: "Estimated Date",
format: "date",
default: "YYYY-MM-DD"
},
modified: {
type: "string",
title: "Date Modified",
format: "date",
default: "YYYY-MM-DDT12:00:00.000Z"
},
contactId: {
Expand Down

0 comments on commit 0e31935

Please sign in to comment.