Advertisement
anchormodeling

JSON object from Anchor XML

Jun 18th, 2013
1,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.    "schema": {
  3.       "metadata": {
  4.          "format": "0.96",
  5.          "temporalization": "mono"
  6.       },
  7.       "knot": {
  8.          "GEN": {
  9.             "mnemonic": "GEN",
  10.             "descriptor": "Gender",
  11.             "identity": "bit",
  12.             "dataRange": "varchar(42)",
  13.             "metadata": {
  14.                "capsule": "dbo",
  15.                "generator": "false"
  16.             },
  17.             "layout": {
  18.                "x": "828.38",
  19.                "y": "447.73",
  20.                "fixed": "false"
  21.             }
  22.          },
  23.          "PAT": {
  24.             "mnemonic": "PAT",
  25.             "descriptor": "ParentalType",
  26.             "identity": "tinyint",
  27.             "dataRange": "varchar(42)",
  28.             "metadata": {
  29.                "capsule": "dbo",
  30.                "generator": "false"
  31.             },
  32.             "layout": {
  33.                "x": "745.96",
  34.                "y": "679.79",
  35.                "fixed": "false"
  36.             }
  37.          },
  38.          "RAT": {
  39.             "mnemonic": "RAT",
  40.             "descriptor": "Rating",
  41.             "identity": "tinyint",
  42.             "dataRange": "varchar(42)",
  43.             "metadata": {
  44.                "capsule": "dbo",
  45.                "generator": "false"
  46.             },
  47.             "layout": {
  48.                "x": "581.71",
  49.                "y": "507.59",
  50.                "fixed": "false"
  51.             }
  52.          },
  53.          "PLV": {
  54.             "mnemonic": "PLV",
  55.             "descriptor": "ProfessionalLevel",
  56.             "identity": "tinyint",
  57.             "dataRange": "varchar(42)",
  58.             "metadata": {
  59.                "capsule": "dbo",
  60.                "generator": "false"
  61.             },
  62.             "layout": {
  63.                "x": "597.00",
  64.                "y": "664.06",
  65.                "fixed": "false"
  66.             }
  67.          }
  68.       },
  69.       "knots": [
  70.          "GEN",
  71.          "PAT",
  72.          "RAT",
  73.          "PLV"
  74.       ],
  75.       "anchor": {
  76.          "PE": {
  77.             "mnemonic": "PE",
  78.             "descriptor": "Performance",
  79.             "identity": "int",
  80.             "metadata": {
  81.                "capsule": "dbo",
  82.                "generator": "true"
  83.             },
  84.             "attribute": {
  85.                "DAT": {
  86.                   "mnemonic": "DAT",
  87.                   "descriptor": "Date",
  88.                   "dataRange": "datetime",
  89.                   "metadata": {
  90.                      "capsule": "dbo"
  91.                   },
  92.                   "layout": {
  93.                      "x": "660.26",
  94.                      "y": "283.88",
  95.                      "fixed": "false"
  96.                   }
  97.                },
  98.                "AUD": {
  99.                   "mnemonic": "AUD",
  100.                   "descriptor": "Audience",
  101.                   "dataRange": "int",
  102.                   "metadata": {
  103.                      "capsule": "dbo"
  104.                   },
  105.                   "layout": {
  106.                      "x": "691.59",
  107.                      "y": "344.90",
  108.                      "fixed": "false"
  109.                   }
  110.                },
  111.                "REV": {
  112.                   "mnemonic": "REV",
  113.                   "descriptor": "Revenue",
  114.                   "dataRange": "money",
  115.                   "metadata": {
  116.                      "capsule": "dbo"
  117.                   },
  118.                   "layout": {
  119.                      "x": "579.73",
  120.                      "y": "282.88",
  121.                      "fixed": "false"
  122.                   }
  123.                }
  124.             },
  125.             "attributes": [
  126.                "DAT",
  127.                "AUD",
  128.                "REV"
  129.             ],
  130.             "layout": {
  131.                "x": "612.53",
  132.                "y": "359.86",
  133.                "fixed": "false"
  134.             }
  135.          },
  136.          "AC": {
  137.             "mnemonic": "AC",
  138.             "descriptor": "Actor",
  139.             "identity": "int",
  140.             "metadata": {
  141.                "capsule": "dbo",
  142.                "generator": "true"
  143.             },
  144.             "attribute": {
  145.                "NAM": {
  146.                   "mnemonic": "NAM",
  147.                   "descriptor": "Name",
  148.                   "timeRange": "date",
  149.                   "dataRange": "varchar(42)",
  150.                   "metadata": {
  151.                      "capsule": "dbo",
  152.                      "restatable": "true",
  153.                      "idempotent": "false"
  154.                   },
  155.                   "layout": {
  156.                      "x": "762.48",
  157.                      "y": "540.48",
  158.                      "fixed": "false"
  159.                   }
  160.                },
  161.                "GEN": {
  162.                   "mnemonic": "GEN",
  163.                   "descriptor": "Gender",
  164.                   "knotRange": "GEN",
  165.                   "metadata": {
  166.                      "capsule": "dbo"
  167.                   },
  168.                   "layout": {
  169.                      "x": "765.63",
  170.                      "y": "464.85",
  171.                      "fixed": "false"
  172.                   }
  173.                },
  174.                "PLV": {
  175.                   "mnemonic": "PLV",
  176.                   "descriptor": "ProfessionalLevel",
  177.                   "timeRange": "date",
  178.                   "knotRange": "PLV",
  179.                   "metadata": {
  180.                      "capsule": "dbo",
  181.                      "restatable": "true",
  182.                      "idempotent": "false"
  183.                   },
  184.                   "layout": {
  185.                      "x": "628.55",
  186.                      "y": "613.07",
  187.                      "fixed": "false"
  188.                   }
  189.                }
  190.             },
  191.             "attributes": [
  192.                "NAM",
  193.                "GEN",
  194.                "PLV"
  195.             ],
  196.             "layout": {
  197.                "x": "680.26",
  198.                "y": "531.74",
  199.                "fixed": "false"
  200.             }
  201.          },
  202.          "PR": {
  203.             "mnemonic": "PR",
  204.             "descriptor": "Program",
  205.             "identity": "int",
  206.             "metadata": {
  207.                "capsule": "dbo",
  208.                "generator": "true"
  209.             },
  210.             "attribute": {
  211.                "NAM": {
  212.                   "mnemonic": "NAM",
  213.                   "descriptor": "Name",
  214.                   "dataRange": "varchar(42)",
  215.                   "metadata": {
  216.                      "capsule": "dbo"
  217.                   },
  218.                   "layout": {
  219.                      "x": "440.56",
  220.                      "y": "555.95",
  221.                      "fixed": "false"
  222.                   }
  223.                }
  224.             },
  225.             "attributes": [
  226.                "NAM"
  227.             ],
  228.             "layout": {
  229.                "x": "489.17",
  230.                "y": "506.64",
  231.                "fixed": "false"
  232.             }
  233.          },
  234.          "ST": {
  235.             "mnemonic": "ST",
  236.             "descriptor": "Stage",
  237.             "identity": "int",
  238.             "metadata": {
  239.                "capsule": "dbo",
  240.                "generator": "true"
  241.             },
  242.             "attribute": {
  243.                "NAM": {
  244.                   "mnemonic": "NAM",
  245.                   "descriptor": "Name",
  246.                   "timeRange": "date",
  247.                   "dataRange": "varchar(42)",
  248.                   "metadata": {
  249.                      "capsule": "dbo",
  250.                      "restatable": "true",
  251.                      "idempotent": "false"
  252.                   },
  253.                   "layout": {
  254.                      "x": "431.40",
  255.                      "y": "284.11",
  256.                      "fixed": "false"
  257.                   }
  258.                },
  259.                "LOC": {
  260.                   "mnemonic": "LOC",
  261.                   "descriptor": "Location",
  262.                   "dataRange": "varchar(42)",
  263.                   "metadata": {
  264.                      "capsule": "dbo"
  265.                   },
  266.                   "layout": {
  267.                      "x": "379.49",
  268.                      "y": "368.49",
  269.                      "fixed": "false"
  270.                   }
  271.                }
  272.             },
  273.             "attributes": [
  274.                "NAM",
  275.                "LOC"
  276.             ],
  277.             "layout": {
  278.                "x": "459.05",
  279.                "y": "360.51",
  280.                "fixed": "false"
  281.             }
  282.          }
  283.       },
  284.       "anchors": [
  285.          "PE",
  286.          "AC",
  287.          "PR",
  288.          "ST"
  289.       ],
  290.       "tie": {
  291.          "PE_at_PR_wasPlayed": {
  292.             "anchorRole": {
  293.                "PE_at": {
  294.                   "role": "at",
  295.                   "type": "PE",
  296.                   "identifier": "true"
  297.                },
  298.                "PR_wasPlayed": {
  299.                   "role": "wasPlayed",
  300.                   "type": "PR",
  301.                   "identifier": "false"
  302.                }
  303.             },
  304.             "roles": [
  305.                "PE_at",
  306.                "PR_wasPlayed"
  307.             ],
  308.             "metadata": {
  309.                "capsule": "dbo"
  310.             },
  311.             "layout": {
  312.                "x": "555.42",
  313.                "y": "434.85",
  314.                "fixed": "false"
  315.             }
  316.          },
  317.          "ST_atLocation_PR_isPlaying": {
  318.             "timeRange": "date",
  319.             "anchorRole": {
  320.                "ST_atLocation": {
  321.                   "role": "atLocation",
  322.                   "type": "ST",
  323.                   "identifier": "true"
  324.                },
  325.                "PR_isPlaying": {
  326.                   "role": "isPlaying",
  327.                   "type": "PR",
  328.                   "identifier": "true"
  329.                }
  330.             },
  331.             "roles": [
  332.                "ST_atLocation",
  333.                "PR_isPlaying"
  334.             ],
  335.             "metadata": {
  336.                "capsule": "dbo",
  337.                "restatable": "true",
  338.                "idempotent": "false"
  339.             },
  340.             "layout": {
  341.                "x": "435.00",
  342.                "y": "445.86",
  343.                "fixed": "false"
  344.             }
  345.          },
  346.          "PE_wasHeld_ST_atLocation": {
  347.             "anchorRole": {
  348.                "PE_wasHeld": {
  349.                   "role": "wasHeld",
  350.                   "type": "PE",
  351.                   "identifier": "true"
  352.                },
  353.                "ST_atLocation": {
  354.                   "role": "atLocation",
  355.                   "type": "ST",
  356.                   "identifier": "false"
  357.                }
  358.             },
  359.             "roles": [
  360.                "PE_wasHeld",
  361.                "ST_atLocation"
  362.             ],
  363.             "metadata": {
  364.                "capsule": "dbo"
  365.             },
  366.             "layout": {
  367.                "x": "530.87",
  368.                "y": "328.24",
  369.                "fixed": "false"
  370.             }
  371.          },
  372.          "AC_part_PR_in_RAT_got": {
  373.             "timeRange": "date",
  374.             "anchorRole": {
  375.                "AC_part": {
  376.                   "role": "part",
  377.                   "type": "AC",
  378.                   "identifier": "true"
  379.                },
  380.                "PR_in": {
  381.                   "role": "in",
  382.                   "type": "PR",
  383.                   "identifier": "true"
  384.                }
  385.             },
  386.             "roles": [
  387.                "AC_part",
  388.                "PR_in",
  389.                "RAT_got"
  390.             ],
  391.             "knotRole": {
  392.                "RAT_got": {
  393.                   "role": "got",
  394.                   "type": "RAT",
  395.                   "identifier": "false"
  396.                }
  397.             },
  398.             "metadata": {
  399.                "capsule": "dbo",
  400.                "restatable": "true",
  401.                "idempotent": "false"
  402.             },
  403.             "layout": {
  404.                "x": "570.60",
  405.                "y": "561.11",
  406.                "fixed": "false"
  407.             }
  408.          },
  409.          "PE_in_AC_wasCast": {
  410.             "anchorRole": {
  411.                "PE_in": {
  412.                   "role": "in",
  413.                   "type": "PE",
  414.                   "identifier": "true"
  415.                },
  416.                "AC_wasCast": {
  417.                   "role": "wasCast",
  418.                   "type": "AC",
  419.                   "identifier": "true"
  420.                }
  421.             },
  422.             "roles": [
  423.                "PE_in",
  424.                "AC_wasCast"
  425.             ],
  426.             "metadata": {
  427.                "capsule": "dbo"
  428.             },
  429.             "layout": {
  430.                "x": "666.56",
  431.                "y": "432.83",
  432.                "fixed": "false"
  433.             }
  434.          },
  435.          "AC_parent_AC_child_PAT_having": {
  436.             "anchorRole": {
  437.                "AC_parent": {
  438.                   "role": "parent",
  439.                   "type": "AC",
  440.                   "identifier": "true"
  441.                },
  442.                "AC_child": {
  443.                   "role": "child",
  444.                   "type": "AC",
  445.                   "identifier": "true"
  446.                }
  447.             },
  448.             "roles": [
  449.                "AC_parent",
  450.                "AC_child",
  451.                "PAT_having"
  452.             ],
  453.             "knotRole": {
  454.                "PAT_having": {
  455.                   "role": "having",
  456.                   "type": "PAT",
  457.                   "identifier": "true"
  458.                }
  459.             },
  460.             "metadata": {
  461.                "capsule": "dbo"
  462.             },
  463.             "layout": {
  464.                "x": "727.93",
  465.                "y": "610.79",
  466.                "fixed": "false"
  467.             }
  468.          }
  469.       },
  470.       "ties": [
  471.          "PE_at_PR_wasPlayed",
  472.          "ST_atLocation_PR_isPlaying",
  473.          "PE_wasHeld_ST_atLocation",
  474.          "AC_part_PR_in_RAT_got",
  475.          "PE_in_AC_wasCast",
  476.          "AC_parent_AC_child_PAT_having"
  477.       ]
  478.    }
  479. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement