Skip to content

HellaThis/schemas

Repository files navigation

schemas

A collection of schema definitions based on Schema.org in GraphQL format.

                       +-------------------+
                       |     Franchise      |
                       +-------------------+
                       |  id                |
                       |  name              |
                       +-------------------+
                        /   |      \     \
                       /    |       \     \
                      /     |        \     \
        +-----------+ /  +-----------+  +------------+   
        |   Movie   |----|   TVShow  |--|  VideoGame  |   
        +-----------+    +-----------+  +------------+
        |  id       |    |  id       |  |  id        |
        |  name     |    |  name     |  |  name      |
        |  series   |    |  series   |  |  series    |
        +-----------+    +-----------+  +------------+
             |                 |               |
        APPEARS_IN        APPEARS_IN      APPEARS_IN
             |                 |               |
             v                 v               v
       +---------------+ +---------------+ +---------------+
       |   Character    | |   Character   | |   Character   |
       +---------------+ +---------------+ +---------------+
       |  id           | |  id           | |  id           |
       |  name         | |  name         | |  name         |
       |  playedBy     | |  playedBy     | |  playedBy     |
       +---------------+ +---------------+ +---------------+
             |                 |               |
         PLAYED_BY          PLAYED_BY       PLAYED_BY
             |                 |               |
             v                 v               v
       +------------+    +------------+    +------------+
       |   Person   |    |   Person   |    |   Person   |
       +------------+    +------------+    +------------+
       | id         |    | id         |    | id         |
       | name       |    | name       |    | name       |
       +------------+    +------------+    +------------+

            [ Other Relationships in Movies, TVShow, VideoGames ]
       DIRECTED_BY  PRODUCED_BY    DEVELOPED_BY  PUBLISHED_BY
           |            |              |              |
    +-------------+ +----------+    +-----------+  +-----------+
    |   Movie     | |  TVShow  |    | VideoGame |  | VideoGame |
    +-------------+ +----------+    +-----------+  +-----------+
    
   +----------------------------------------------------------+
   |                        TVShow                            |
   +----------------------------------------------------------+
   | id           | name         | series       |             |
   +----------------------------------------------------------+
             |                         |
             | HAS_EPISODE             | HAS_SEASON
             v                         v
   +------------------+        +------------------+
   |     Episode       |        |     Season       |
   +------------------+        +------------------+
   | id               |        | id               |
   | name             |        | name             |
   | episodeNumber    |        | seasonNumber     |
   +------------------+        +------------------+
          |                             |
      DIRECTED_BY                    PART_OF_SERIES
          |                             |
      +---------+                  +-----------+
      |  Person |                  |   TVShow  |
      +---------+                  +-----------+

   +----------------------------------------------------------+
   |                     VideoGame                            |
   +----------------------------------------------------------+
   | id           | name         | series       |             |
   +----------------------------------------------------------+
        |                    |
        | PLAYS_ON           | DEVELOPED_BY
        v                    v
   +------------------+   +------------------+
   |   GamePlatform   |   |     Person        |
   +------------------+   +------------------+

       +---------------------------------------------------+
       |                Common Entities                    |
       +---------------------------------------------------+
       | Organization  |  Country  |  Award  |  VideoObject|
       +---------------------------------------------------+
       | id            |  id       |  id     |  id         |
       | name          |  name     |  name   |  name       |
       +---------------------------------------------------+

About

A collection of schema definitions based on Schema.org in GraphQL format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors