Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document VIE's schema import format #141

Open
fubhy opened this issue Nov 3, 2012 · 0 comments
Open

Document VIE's schema import format #141

fubhy opened this issue Nov 3, 2012 · 0 comments

Comments

@fubhy
Copy link

fubhy commented Nov 3, 2012

Using http://schema.rdfs.org/all.json as an example is a bit painful because it is so verbose. Something like:

{
  "datatypes": {
    "isFamilyFriendly": {
      "comment": "Indicates whether this content is family friendly.", 
      "comment_plain": "Indicates whether this content is family friendly.", 
      "domains": [
        "CreativeWork"
      ], 
      "id": "isFamilyFriendly", 
      "label": "Is Family Friendly", 
      "ranges": [
        "Boolean"
      ]
    }
  }, 
  "types": {
    "AboutPage": {
      "ancestors": [
        "Thing", 
        "WebPage"
      ], 
      "comment": "Web page type: About page.", 
      "comment_plain": "Web page type: About page.", 
      "id": "AboutPage", 
      "label": "About Page", 
      "properties": [
        "isFamilyFriendly"
      ], 
      "specific_properties": [], 
      "subtypes": [], 
      "supertypes": [
        "WebPage"
      ], 
      "url": "http://schema.org/AboutPage"
    }, 
  }, 
  "valid": "2012-11-03"
}

This would help also with openpsa/createphp#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant