{
  "ramlVersion": "RAML10",
  "type": "Api",
  "specification": {
    "types": [
      {
        "Type1": {
          "name": "Type1",
          "displayName": "Type1",
          "typePropertyKind": "TYPE_EXPRESSION",
          "type": [
            "object"
          ],
          "properties": {
            "propertyFromType1": {
              "name": "propertyFromType1",
              "displayName": "propertyFromType1",
              "typePropertyKind": "TYPE_EXPRESSION",
              "type": [
                "string"
              ],
              "required": true,
              "__METADATA__": {
                "primitiveValuesMeta": {
                  "displayName": {
                    "calculated": true
                  },
                  "required": {
                    "insertedAsDefault": true
                  }
                }
              },
              "sourceMap": {
                "path": "apiValid.raml"
              }
            }
          },
          "__METADATA__": {
            "primitiveValuesMeta": {
              "displayName": {
                "calculated": true
              },
              "type": {
                "insertedAsDefault": true
              }
            }
          },
          "sourceMap": {
            "path": "apiValid.raml"
          }
        }
      },
      {
        "Type2": {
          "name": "Type2",
          "displayName": "Type2",
          "typePropertyKind": "TYPE_EXPRESSION",
          "type": [
            "object"
          ],
          "properties": {
            "propertyFromType2": {
              "name": "propertyFromType2",
              "displayName": "propertyFromType2",
              "typePropertyKind": "TYPE_EXPRESSION",
              "type": [
                "string"
              ],
              "required": true,
              "__METADATA__": {
                "primitiveValuesMeta": {
                  "displayName": {
                    "calculated": true
                  },
                  "required": {
                    "insertedAsDefault": true
                  }
                }
              },
              "sourceMap": {
                "path": "apiValid.raml"
              }
            }
          },
          "__METADATA__": {
            "primitiveValuesMeta": {
              "displayName": {
                "calculated": true
              },
              "type": {
                "insertedAsDefault": true
              }
            }
          },
          "sourceMap": {
            "path": "apiValid.raml"
          }
        }
      }
    ],
    "resourceTypes": [
      {
        "ResourceTypeWithParams": {
          "type": "<<resourceTypeParam>>",
          "name": "ResourceTypeWithParams",
          "sourceMap": {
            "path": "apiValid.raml"
          },
          "get": {
            "body": {
              "application/json": {
                "name": "application/json",
                "displayName": "application/json",
                "typePropertyKind": "TYPE_EXPRESSION",
                "type": [
                  "<<bodyTypeParam>>"
                ],
                "properties": {
                  "extraProperty": {
                    "name": "extraProperty",
                    "displayName": "extraProperty",
                    "typePropertyKind": "TYPE_EXPRESSION",
                    "type": [
                      "string"
                    ],
                    "required": true,
                    "__METADATA__": {
                      "primitiveValuesMeta": {
                        "displayName": {
                          "calculated": true
                        },
                        "required": {
                          "insertedAsDefault": true
                        }
                      }
                    },
                    "sourceMap": {
                      "path": "apiValid.raml"
                    }
                  }
                },
                "__METADATA__": {
                  "primitiveValuesMeta": {
                    "displayName": {
                      "calculated": true
                    }
                  }
                },
                "sourceMap": {
                  "path": "apiValid.raml"
                }
              }
            },
            "method": "get",
            "sourceMap": {
              "path": "apiValid.raml"
            }
          }
        }
      },
      {
        "ResourceType1": {
          "name": "ResourceType1",
          "sourceMap": {
            "path": "apiValid.raml"
          },
          "get": {
            "body": {
              "application/json": {
                "name": "application/json",
                "displayName": "application/json",
                "typePropertyKind": "TYPE_EXPRESSION",
                "type": [
                  "object"
                ],
                "properties": {
                  "propertyFromResourceType1": {
                    "name": "propertyFromResourceType1",
                    "displayName": "propertyFromResourceType1",
                    "typePropertyKind": "TYPE_EXPRESSION",
                    "type": [
                      "string"
                    ],
                    "required": true,
                    "__METADATA__": {
                      "primitiveValuesMeta": {
                        "displayName": {
                          "calculated": true
                        },
                        "required": {
                          "insertedAsDefault": true
                        }
                      }
                    },
                    "sourceMap": {
                      "path": "apiValid.raml"
                    }
                  }
                },
                "__METADATA__": {
                  "primitiveValuesMeta": {
                    "displayName": {
                      "calculated": true
                    },
                    "type": {
                      "insertedAsDefault": true
                    }
                  }
                },
                "sourceMap": {
                  "path": "apiValid.raml"
                }
              }
            },
            "method": "get",
            "sourceMap": {
              "path": "apiValid.raml"
            }
          }
        }
      },
      {
        "ResourceType2": {
          "name": "ResourceType2",
          "sourceMap": {
            "path": "apiValid.raml"
          },
          "get": {
            "body": {
              "application/json": {
                "name": "application/json",
                "displayName": "application/json",
                "typePropertyKind": "TYPE_EXPRESSION",
                "type": [
                  "object"
                ],
                "properties": {
                  "propertyFromResourceType2": {
                    "name": "propertyFromResourceType2",
                    "displayName": "propertyFromResourceType2",
                    "typePropertyKind": "TYPE_EXPRESSION",
                    "type": [
                      "string"
                    ],
                    "required": true,
                    "__METADATA__": {
                      "primitiveValuesMeta": {
                        "displayName": {
                          "calculated": true
                        },
                        "required": {
                          "insertedAsDefault": true
                        }
                      }
                    },
                    "sourceMap": {
                      "path": "apiValid.raml"
                    }
                  }
                },
                "__METADATA__": {
                  "primitiveValuesMeta": {
                    "displayName": {
                      "calculated": true
                    },
                    "type": {
                      "insertedAsDefault": true
                    }
                  }
                },
                "sourceMap": {
                  "path": "apiValid.raml"
                }
              }
            },
            "method": "get",
            "sourceMap": {
              "path": "apiValid.raml"
            }
          }
        }
      },
      {
        "Resource": {
          "type": {
            "ResourceTypeWithParams": {
              "resourceTypeParam": "ResourceType2",
              "bodyTypeParam": "Type1"
            }
          },
          "name": "Resource",
          "sourceMap": {
            "path": "apiValid.raml"
          },
          "get": {
            "body": {
              "application/json": {
                "name": "application/json",
                "displayName": "application/json",
                "typePropertyKind": "TYPE_EXPRESSION",
                "type": [
                  "any"
                ],
                "example": {
                  "propertyFromType1": "stringValue1",
                  "propertyFromResourceType2": "stringValue2",
                  "extraProperty": "stringValue3"
                },
                "__METADATA__": {
                  "primitiveValuesMeta": {
                    "displayName": {
                      "calculated": true
                    },
                    "type": {
                      "insertedAsDefault": true
                    }
                  }
                },
                "sourceMap": {
                  "path": "apiValid.raml"
                },
                "structuredExample": {
                  "value": "{\n  \"propertyFromType1\": \"stringValue1\",\n  \"propertyFromResourceType2\": \"stringValue2\",\n  \"extraProperty\": \"stringValue3\"\n}",
                  "strict": true,
                  "name": null,
                  "structuredValue": {
                    "propertyFromType1": "stringValue1",
                    "propertyFromResourceType2": "stringValue2",
                    "extraProperty": "stringValue3"
                  },
                  "sourceMap": {
                    "path": "apiValid.raml"
                  }
                }
              }
            },
            "method": "get",
            "sourceMap": {
              "path": "apiValid.raml"
            }
          }
        }
      }
    ],
    "title": "API",
    "resources": [
      {
        "methods": [
          {
            "body": {
              "application/json": {
                "name": "application/json",
                "displayName": "application/json",
                "typePropertyKind": "TYPE_EXPRESSION",
                "type": [
                  "Type1"
                ],
                "example": {
                  "propertyFromType1": "stringValue1",
                  "propertyFromResourceType2": "stringValue2",
                  "extraProperty": "stringValue3"
                },
                "properties": {
                  "extraProperty": {
                    "name": "extraProperty",
                    "displayName": "extraProperty",
                    "typePropertyKind": "TYPE_EXPRESSION",
                    "type": [
                      "string"
                    ],
                    "required": true,
                    "__METADATA__": {
                      "primitiveValuesMeta": {
                        "displayName": {
                          "calculated": true
                        },
                        "required": {
                          "insertedAsDefault": true
                        }
                      }
                    },
                    "sourceMap": {
                      "path": "apiValid.raml"
                    }
                  },
                  "propertyFromResourceType2": {
                    "name": "propertyFromResourceType2",
                    "displayName": "propertyFromResourceType2",
                    "typePropertyKind": "TYPE_EXPRESSION",
                    "type": [
                      "string"
                    ],
                    "required": true,
                    "__METADATA__": {
                      "primitiveValuesMeta": {
                        "displayName": {
                          "calculated": true
                        },
                        "required": {
                          "insertedAsDefault": true
                        }
                      }
                    },
                    "sourceMap": {
                      "path": "apiValid.raml"
                    }
                  }
                },
                "__METADATA__": {
                  "primitiveValuesMeta": {
                    "displayName": {
                      "calculated": true
                    }
                  }
                },
                "sourceMap": {
                  "path": "apiValid.raml"
                },
                "structuredExample": {
                  "value": "{\n  \"propertyFromType1\": \"stringValue1\",\n  \"propertyFromResourceType2\": \"stringValue2\",\n  \"extraProperty\": \"stringValue3\"\n}",
                  "strict": true,
                  "name": null,
                  "structuredValue": {
                    "propertyFromType1": "stringValue1",
                    "propertyFromResourceType2": "stringValue2",
                    "extraProperty": "stringValue3"
                  },
                  "sourceMap": {
                    "path": "apiValid.raml"
                  }
                }
              }
            },
            "method": "get",
            "sourceMap": {
              "path": "apiValid.raml"
            }
          }
        ],
        "type": "Resource",
        "relativeUri": "/resource",
        "displayName": "/resource",
        "__METADATA__": {
          "primitiveValuesMeta": {
            "displayName": {
              "calculated": true
            }
          }
        },
        "sourceMap": {
          "path": "apiValid.raml"
        },
        "relativeUriPathSegments": [
          "resource"
        ],
        "absoluteUri": "/resource"
      }
    ],
    "sourceMap": {
      "path": "apiValid.raml"
    }
  },
  "errors": []
}