{
  "type": "Program",
  "start": 0,
  "end": 1164,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 33,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 150,
      "end": 223,
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 73
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 158,
          "end": 170,
          "loc": {
            "start": {
              "line": 7,
              "column": 8
            },
            "end": {
              "line": 7,
              "column": 20
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 158,
            "end": 170,
            "loc": {
              "start": {
                "line": 7,
                "column": 8
              },
              "end": {
                "line": 7,
                "column": 20
              }
            },
            "name": "getMetaValue",
            "leadingComments": null
          },
          "local": {
            "type": "Identifier",
            "start": 158,
            "end": 170,
            "loc": {
              "start": {
                "line": 7,
                "column": 8
              },
              "end": {
                "line": 7,
                "column": 20
              }
            },
            "name": "getMetaValue",
            "leadingComments": [
              {
                "type": "Block",
                "value": "*\n * Section-related validation functions\n * @todo lighten sectionConverter by putting more utils there\n * @module validators/sectionValidator\n ",
                "start": 0,
                "end": 148,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 0
                  },
                  "end": {
                    "line": 5,
                    "column": 3
                  }
                },
                "range": [
                  0,
                  148
                ]
              }
            ]
          },
          "leadingComments": null
        },
        {
          "type": "ImportSpecifier",
          "start": 172,
          "end": 187,
          "loc": {
            "start": {
              "line": 7,
              "column": 22
            },
            "end": {
              "line": 7,
              "column": 37
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 172,
            "end": 187,
            "loc": {
              "start": {
                "line": 7,
                "column": 22
              },
              "end": {
                "line": 7,
                "column": 37
              }
            },
            "name": "filterResources"
          },
          "local": {
            "type": "Identifier",
            "start": 172,
            "end": 187,
            "loc": {
              "start": {
                "line": 7,
                "column": 22
              },
              "end": {
                "line": 7,
                "column": 37
              }
            },
            "name": "filterResources"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 194,
        "end": 222,
        "loc": {
          "start": {
            "line": 7,
            "column": 44
          },
          "end": {
            "line": 7,
            "column": 72
          }
        },
        "value": "./../../utils/sectionUtils",
        "rawValue": "./../../utils/sectionUtils",
        "raw": "'./../../utils/sectionUtils'"
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Section-related validation functions\n * @todo lighten sectionConverter by putting more utils there\n * @module validators/sectionValidator\n ",
          "start": 0,
          "end": 148,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 5,
              "column": 3
            }
          },
          "range": [
            0,
            148
          ]
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Validates the resources of a section against resources models\n * @param {Object} section - the section to validate\n * @param {Object} models - the models to use for validation\n * @param {function(err: null, output: Object)} callback - callbacks a list of validation errors descriptions, and unmodified sections\n ",
          "start": 225,
          "end": 546,
          "loc": {
            "start": {
              "line": 9,
              "column": 0
            },
            "end": {
              "line": 14,
              "column": 3
            }
          },
          "range": [
            225,
            546
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 547,
      "end": 1163,
      "loc": {
        "start": {
          "line": 15,
          "column": 0
        },
        "end": {
          "line": 32,
          "column": 2
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 554,
        "end": 1163,
        "loc": {
          "start": {
            "line": 15,
            "column": 7
          },
          "end": {
            "line": 32,
            "column": 2
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 560,
            "end": 1162,
            "loc": {
              "start": {
                "line": 15,
                "column": 13
              },
              "end": {
                "line": 32,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 560,
              "end": 577,
              "loc": {
                "start": {
                  "line": 15,
                  "column": 13
                },
                "end": {
                  "line": 15,
                  "column": 30
                }
              },
              "name": "validateResources",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 580,
              "end": 1162,
              "loc": {
                "start": {
                  "line": 15,
                  "column": 33
                },
                "end": {
                  "line": 32,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start": 581,
                  "end": 588,
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 34
                    },
                    "end": {
                      "line": 15,
                      "column": 41
                    }
                  },
                  "name": "section"
                },
                {
                  "type": "Identifier",
                  "start": 590,
                  "end": 596,
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 43
                    },
                    "end": {
                      "line": 15,
                      "column": 49
                    }
                  },
                  "name": "models"
                },
                {
                  "type": "Identifier",
                  "start": 598,
                  "end": 606,
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 51
                    },
                    "end": {
                      "line": 15,
                      "column": 59
                    }
                  },
                  "name": "callback"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 610,
                "end": 1162,
                "loc": {
                  "start": {
                    "line": 15,
                    "column": 63
                  },
                  "end": {
                    "line": 32,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "start": 614,
                    "end": 632,
                    "loc": {
                      "start": {
                        "line": 16,
                        "column": 2
                      },
                      "end": {
                        "line": 16,
                        "column": 20
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 620,
                        "end": 631,
                        "loc": {
                          "start": {
                            "line": 16,
                            "column": 8
                          },
                          "end": {
                            "line": 16,
                            "column": 19
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 620,
                          "end": 626,
                          "loc": {
                            "start": {
                              "line": 16,
                              "column": 8
                            },
                            "end": {
                              "line": 16,
                              "column": 14
                            }
                          },
                          "name": "errors"
                        },
                        "init": {
                          "type": "ArrayExpression",
                          "start": 629,
                          "end": 631,
                          "loc": {
                            "start": {
                              "line": 16,
                              "column": 17
                            },
                            "end": {
                              "line": 16,
                              "column": 19
                            }
                          },
                          "elements": []
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 636,
                    "end": 1116,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 2
                      },
                      "end": {
                        "line": 30,
                        "column": 5
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 636,
                      "end": 1115,
                      "loc": {
                        "start": {
                          "line": 18,
                          "column": 2
                        },
                        "end": {
                          "line": 30,
                          "column": 4
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 636,
                        "end": 661,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 2
                          },
                          "end": {
                            "line": 18,
                            "column": 27
                          }
                        },
                        "object": {
                          "type": "MemberExpression",
                          "start": 636,
                          "end": 653,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 2
                            },
                            "end": {
                              "line": 18,
                              "column": 19
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 636,
                            "end": 643,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 2
                              },
                              "end": {
                                "line": 18,
                                "column": 9
                              }
                            },
                            "name": "section"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 644,
                            "end": 653,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 10
                              },
                              "end": {
                                "line": 18,
                                "column": 19
                              }
                            },
                            "name": "resources"
                          },
                          "computed": false
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 654,
                          "end": 661,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 20
                            },
                            "end": {
                              "line": 18,
                              "column": 27
                            }
                          },
                          "name": "forEach"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "ArrowFunctionExpression",
                          "start": 662,
                          "end": 1114,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 28
                            },
                            "end": {
                              "line": 30,
                              "column": 3
                            }
                          },
                          "id": null,
                          "generator": false,
                          "expression": false,
                          "async": false,
                          "params": [
                            {
                              "type": "Identifier",
                              "start": 663,
                              "end": 671,
                              "loc": {
                                "start": {
                                  "line": 18,
                                  "column": 29
                                },
                                "end": {
                                  "line": 18,
                                  "column": 37
                                }
                              },
                              "name": "resource"
                            }
                          ],
                          "body": {
                            "type": "BlockStatement",
                            "start": 675,
                            "end": 1114,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 41
                              },
                              "end": {
                                "line": 30,
                                "column": 3
                              }
                            },
                            "body": [
                              {
                                "type": "VariableDeclaration",
                                "start": 715,
                                "end": 793,
                                "loc": {
                                  "start": {
                                    "line": 20,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 20,
                                    "column": 82
                                  }
                                },
                                "declarations": [
                                  {
                                    "type": "VariableDeclarator",
                                    "start": 721,
                                    "end": 792,
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 10
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 81
                                      }
                                    },
                                    "id": {
                                      "type": "Identifier",
                                      "start": 721,
                                      "end": 726,
                                      "loc": {
                                        "start": {
                                          "line": 20,
                                          "column": 10
                                        },
                                        "end": {
                                          "line": 20,
                                          "column": 15
                                        }
                                      },
                                      "name": "other",
                                      "leadingComments": null
                                    },
                                    "init": {
                                      "type": "CallExpression",
                                      "start": 729,
                                      "end": 792,
                                      "loc": {
                                        "start": {
                                          "line": 20,
                                          "column": 18
                                        },
                                        "end": {
                                          "line": 20,
                                          "column": 81
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 729,
                                        "end": 744,
                                        "loc": {
                                          "start": {
                                            "line": 20,
                                            "column": 18
                                          },
                                          "end": {
                                            "line": 20,
                                            "column": 33
                                          }
                                        },
                                        "name": "filterResources"
                                      },
                                      "arguments": [
                                        {
                                          "type": "MemberExpression",
                                          "start": 745,
                                          "end": 762,
                                          "loc": {
                                            "start": {
                                              "line": 20,
                                              "column": 34
                                            },
                                            "end": {
                                              "line": 20,
                                              "column": 51
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 745,
                                            "end": 752,
                                            "loc": {
                                              "start": {
                                                "line": 20,
                                                "column": 34
                                              },
                                              "end": {
                                                "line": 20,
                                                "column": 41
                                              }
                                            },
                                            "name": "section"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 753,
                                            "end": 762,
                                            "loc": {
                                              "start": {
                                                "line": 20,
                                                "column": 42
                                              },
                                              "end": {
                                                "line": 20,
                                                "column": 51
                                              }
                                            },
                                            "name": "resources"
                                          },
                                          "computed": false
                                        },
                                        {
                                          "type": "Literal",
                                          "start": 764,
                                          "end": 773,
                                          "loc": {
                                            "start": {
                                              "line": 20,
                                              "column": 53
                                            },
                                            "end": {
                                              "line": 20,
                                              "column": 62
                                            }
                                          },
                                          "value": "citeKey",
                                          "rawValue": "citeKey",
                                          "raw": "'citeKey'"
                                        },
                                        {
                                          "type": "MemberExpression",
                                          "start": 775,
                                          "end": 791,
                                          "loc": {
                                            "start": {
                                              "line": 20,
                                              "column": 64
                                            },
                                            "end": {
                                              "line": 20,
                                              "column": 80
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 775,
                                            "end": 783,
                                            "loc": {
                                              "start": {
                                                "line": 20,
                                                "column": 64
                                              },
                                              "end": {
                                                "line": 20,
                                                "column": 72
                                              }
                                            },
                                            "name": "resource"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 784,
                                            "end": 791,
                                            "loc": {
                                              "start": {
                                                "line": 20,
                                                "column": 73
                                              },
                                              "end": {
                                                "line": 20,
                                                "column": 80
                                              }
                                            },
                                            "name": "citeKey"
                                          },
                                          "computed": false
                                        }
                                      ]
                                    },
                                    "leadingComments": null
                                  }
                                ],
                                "kind": "const",
                                "leadingComments": [
                                  {
                                    "type": "CommentLine",
                                    "value": " validate resources unicity",
                                    "start": 681,
                                    "end": 710,
                                    "loc": {
                                      "start": {
                                        "line": 19,
                                        "column": 4
                                      },
                                      "end": {
                                        "line": 19,
                                        "column": 33
                                      }
                                    },
                                    "range": [
                                      681,
                                      710
                                    ]
                                  }
                                ]
                              },
                              {
                                "type": "IfStatement",
                                "start": 798,
                                "end": 1110,
                                "loc": {
                                  "start": {
                                    "line": 21,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 5
                                  }
                                },
                                "test": {
                                  "type": "BinaryExpression",
                                  "start": 802,
                                  "end": 818,
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 24
                                    }
                                  },
                                  "left": {
                                    "type": "MemberExpression",
                                    "start": 802,
                                    "end": 814,
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 20
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 802,
                                      "end": 807,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 13
                                        }
                                      },
                                      "name": "other"
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "start": 808,
                                      "end": 814,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 14
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 20
                                        }
                                      },
                                      "name": "length"
                                    },
                                    "computed": false
                                  },
                                  "operator": ">",
                                  "right": {
                                    "type": "Literal",
                                    "start": 817,
                                    "end": 818,
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 24
                                      }
                                    },
                                    "value": 1,
                                    "rawValue": 1,
                                    "raw": "1"
                                  }
                                },
                                "consequent": {
                                  "type": "BlockStatement",
                                  "start": 820,
                                  "end": 1110,
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 26
                                    },
                                    "end": {
                                      "line": 29,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ExpressionStatement",
                                      "start": 828,
                                      "end": 1104,
                                      "loc": {
                                        "start": {
                                          "line": 22,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 28,
                                          "column": 9
                                        }
                                      },
                                      "expression": {
                                        "type": "CallExpression",
                                        "start": 828,
                                        "end": 1103,
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 28,
                                            "column": 8
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 828,
                                          "end": 839,
                                          "loc": {
                                            "start": {
                                              "line": 22,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 22,
                                              "column": 17
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 828,
                                            "end": 834,
                                            "loc": {
                                              "start": {
                                                "line": 22,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 22,
                                                "column": 12
                                              }
                                            },
                                            "name": "errors"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 835,
                                            "end": 839,
                                            "loc": {
                                              "start": {
                                                "line": 22,
                                                "column": 13
                                              },
                                              "end": {
                                                "line": 22,
                                                "column": 17
                                              }
                                            },
                                            "name": "push"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "ObjectExpression",
                                            "start": 840,
                                            "end": 1102,
                                            "loc": {
                                              "start": {
                                                "line": 22,
                                                "column": 18
                                              },
                                              "end": {
                                                "line": 28,
                                                "column": 7
                                              }
                                            },
                                            "properties": [
                                              {
                                                "type": "Property",
                                                "start": 850,
                                                "end": 863,
                                                "loc": {
                                                  "start": {
                                                    "line": 23,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 23,
                                                    "column": 21
                                                  }
                                                },
                                                "method": false,
                                                "shorthand": false,
                                                "computed": false,
                                                "key": {
                                                  "type": "Identifier",
                                                  "start": 850,
                                                  "end": 854,
                                                  "loc": {
                                                    "start": {
                                                      "line": 23,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 23,
                                                      "column": 12
                                                    }
                                                  },
                                                  "name": "type"
                                                },
                                                "value": {
                                                  "type": "Literal",
                                                  "start": 856,
                                                  "end": 863,
                                                  "loc": {
                                                    "start": {
                                                      "line": 23,
                                                      "column": 14
                                                    },
                                                    "end": {
                                                      "line": 23,
                                                      "column": 21
                                                    }
                                                  },
                                                  "value": "error",
                                                  "rawValue": "error",
                                                  "raw": "'error'"
                                                },
                                                "kind": "init"
                                              },
                                              {
                                                "type": "Property",
                                                "start": 873,
                                                "end": 903,
                                                "loc": {
                                                  "start": {
                                                    "line": 24,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 24,
                                                    "column": 38
                                                  }
                                                },
                                                "method": false,
                                                "shorthand": false,
                                                "computed": false,
                                                "key": {
                                                  "type": "Identifier",
                                                  "start": 873,
                                                  "end": 884,
                                                  "loc": {
                                                    "start": {
                                                      "line": 24,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 24,
                                                      "column": 19
                                                    }
                                                  },
                                                  "name": "preciseType"
                                                },
                                                "value": {
                                                  "type": "Literal",
                                                  "start": 886,
                                                  "end": 903,
                                                  "loc": {
                                                    "start": {
                                                      "line": 24,
                                                      "column": 21
                                                    },
                                                    "end": {
                                                      "line": 24,
                                                      "column": 38
                                                    }
                                                  },
                                                  "value": "invalidResource",
                                                  "rawValue": "invalidResource",
                                                  "raw": "'invalidResource'"
                                                },
                                                "kind": "init"
                                              },
                                              {
                                                "type": "Property",
                                                "start": 913,
                                                "end": 981,
                                                "loc": {
                                                  "start": {
                                                    "line": 25,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 25,
                                                    "column": 76
                                                  }
                                                },
                                                "method": false,
                                                "shorthand": false,
                                                "computed": false,
                                                "key": {
                                                  "type": "Identifier",
                                                  "start": 913,
                                                  "end": 927,
                                                  "loc": {
                                                    "start": {
                                                      "line": 25,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 25,
                                                      "column": 22
                                                    }
                                                  },
                                                  "name": "sectionCiteKey"
                                                },
                                                "value": {
                                                  "type": "CallExpression",
                                                  "start": 929,
                                                  "end": 981,
                                                  "loc": {
                                                    "start": {
                                                      "line": 25,
                                                      "column": 24
                                                    },
                                                    "end": {
                                                      "line": 25,
                                                      "column": 76
                                                    }
                                                  },
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "start": 929,
                                                    "end": 941,
                                                    "loc": {
                                                      "start": {
                                                        "line": 25,
                                                        "column": 24
                                                      },
                                                      "end": {
                                                        "line": 25,
                                                        "column": 36
                                                      }
                                                    },
                                                    "name": "getMetaValue"
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "MemberExpression",
                                                      "start": 942,
                                                      "end": 958,
                                                      "loc": {
                                                        "start": {
                                                          "line": 25,
                                                          "column": 37
                                                        },
                                                        "end": {
                                                          "line": 25,
                                                          "column": 53
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 942,
                                                        "end": 949,
                                                        "loc": {
                                                          "start": {
                                                            "line": 25,
                                                            "column": 37
                                                          },
                                                          "end": {
                                                            "line": 25,
                                                            "column": 44
                                                          }
                                                        },
                                                        "name": "section"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 950,
                                                        "end": 958,
                                                        "loc": {
                                                          "start": {
                                                            "line": 25,
                                                            "column": 45
                                                          },
                                                          "end": {
                                                            "line": 25,
                                                            "column": 53
                                                          }
                                                        },
                                                        "name": "metadata"
                                                      },
                                                      "computed": false
                                                    },
                                                    {
                                                      "type": "Literal",
                                                      "start": 960,
                                                      "end": 969,
                                                      "loc": {
                                                        "start": {
                                                          "line": 25,
                                                          "column": 55
                                                        },
                                                        "end": {
                                                          "line": 25,
                                                          "column": 64
                                                        }
                                                      },
                                                      "value": "general",
                                                      "rawValue": "general",
                                                      "raw": "'general'"
                                                    },
                                                    {
                                                      "type": "Literal",
                                                      "start": 971,
                                                      "end": 980,
                                                      "loc": {
                                                        "start": {
                                                          "line": 25,
                                                          "column": 66
                                                        },
                                                        "end": {
                                                          "line": 25,
                                                          "column": 75
                                                        }
                                                      },
                                                      "value": "citeKey",
                                                      "rawValue": "citeKey",
                                                      "raw": "'citeKey'"
                                                    }
                                                  ]
                                                },
                                                "kind": "init"
                                              },
                                              {
                                                "type": "Property",
                                                "start": 991,
                                                "end": 1024,
                                                "loc": {
                                                  "start": {
                                                    "line": 26,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 26,
                                                    "column": 41
                                                  }
                                                },
                                                "method": false,
                                                "shorthand": false,
                                                "computed": false,
                                                "key": {
                                                  "type": "Identifier",
                                                  "start": 991,
                                                  "end": 1006,
                                                  "loc": {
                                                    "start": {
                                                      "line": 26,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 26,
                                                      "column": 23
                                                    }
                                                  },
                                                  "name": "resourceCiteKey"
                                                },
                                                "value": {
                                                  "type": "MemberExpression",
                                                  "start": 1008,
                                                  "end": 1024,
                                                  "loc": {
                                                    "start": {
                                                      "line": 26,
                                                      "column": 25
                                                    },
                                                    "end": {
                                                      "line": 26,
                                                      "column": 41
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "Identifier",
                                                    "start": 1008,
                                                    "end": 1016,
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 25
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 33
                                                      }
                                                    },
                                                    "name": "resource"
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 1017,
                                                    "end": 1024,
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 34
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 41
                                                      }
                                                    },
                                                    "name": "citeKey"
                                                  },
                                                  "computed": false
                                                },
                                                "kind": "init"
                                              },
                                              {
                                                "type": "Property",
                                                "start": 1034,
                                                "end": 1094,
                                                "loc": {
                                                  "start": {
                                                    "line": 27,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 27,
                                                    "column": 68
                                                  }
                                                },
                                                "method": false,
                                                "shorthand": false,
                                                "computed": false,
                                                "key": {
                                                  "type": "Identifier",
                                                  "start": 1034,
                                                  "end": 1041,
                                                  "loc": {
                                                    "start": {
                                                      "line": 27,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 27,
                                                      "column": 15
                                                    }
                                                  },
                                                  "name": "message"
                                                },
                                                "value": {
                                                  "type": "BinaryExpression",
                                                  "start": 1043,
                                                  "end": 1094,
                                                  "loc": {
                                                    "start": {
                                                      "line": 27,
                                                      "column": 17
                                                    },
                                                    "end": {
                                                      "line": 27,
                                                      "column": 68
                                                    }
                                                  },
                                                  "left": {
                                                    "type": "BinaryExpression",
                                                    "start": 1043,
                                                    "end": 1076,
                                                    "loc": {
                                                      "start": {
                                                        "line": 27,
                                                        "column": 17
                                                      },
                                                      "end": {
                                                        "line": 27,
                                                        "column": 50
                                                      }
                                                    },
                                                    "left": {
                                                      "type": "Literal",
                                                      "start": 1043,
                                                      "end": 1057,
                                                      "loc": {
                                                        "start": {
                                                          "line": 27,
                                                          "column": 17
                                                        },
                                                        "end": {
                                                          "line": 27,
                                                          "column": 31
                                                        }
                                                      },
                                                      "value": "Resource ID ",
                                                      "rawValue": "Resource ID ",
                                                      "raw": "'Resource ID '"
                                                    },
                                                    "operator": "+",
                                                    "right": {
                                                      "type": "MemberExpression",
                                                      "start": 1060,
                                                      "end": 1076,
                                                      "loc": {
                                                        "start": {
                                                          "line": 27,
                                                          "column": 34
                                                        },
                                                        "end": {
                                                          "line": 27,
                                                          "column": 50
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 1060,
                                                        "end": 1068,
                                                        "loc": {
                                                          "start": {
                                                            "line": 27,
                                                            "column": 34
                                                          },
                                                          "end": {
                                                            "line": 27,
                                                            "column": 42
                                                          }
                                                        },
                                                        "name": "resource"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 1069,
                                                        "end": 1076,
                                                        "loc": {
                                                          "start": {
                                                            "line": 27,
                                                            "column": 43
                                                          },
                                                          "end": {
                                                            "line": 27,
                                                            "column": 50
                                                          }
                                                        },
                                                        "name": "citeKey"
                                                      },
                                                      "computed": false
                                                    }
                                                  },
                                                  "operator": "+",
                                                  "right": {
                                                    "type": "Literal",
                                                    "start": 1079,
                                                    "end": 1094,
                                                    "loc": {
                                                      "start": {
                                                        "line": 27,
                                                        "column": 53
                                                      },
                                                      "end": {
                                                        "line": 27,
                                                        "column": 68
                                                      }
                                                    },
                                                    "value": "is not unique",
                                                    "rawValue": "is not unique",
                                                    "raw": "'is not unique'"
                                                  }
                                                },
                                                "kind": "init"
                                              }
                                            ]
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "alternate": null
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "start": 1119,
                    "end": 1160,
                    "loc": {
                      "start": {
                        "line": 31,
                        "column": 2
                      },
                      "end": {
                        "line": 31,
                        "column": 43
                      }
                    },
                    "argument": {
                      "type": "CallExpression",
                      "start": 1126,
                      "end": 1159,
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 9
                        },
                        "end": {
                          "line": 31,
                          "column": 42
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 1126,
                        "end": 1134,
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 9
                          },
                          "end": {
                            "line": 31,
                            "column": 17
                          }
                        },
                        "name": "callback"
                      },
                      "arguments": [
                        {
                          "type": "Literal",
                          "start": 1135,
                          "end": 1139,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 18
                            },
                            "end": {
                              "line": 31,
                              "column": 22
                            }
                          },
                          "value": null,
                          "rawValue": null,
                          "raw": "null"
                        },
                        {
                          "type": "ObjectExpression",
                          "start": 1141,
                          "end": 1158,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 24
                            },
                            "end": {
                              "line": 31,
                              "column": 41
                            }
                          },
                          "properties": [
                            {
                              "type": "Property",
                              "start": 1142,
                              "end": 1148,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 25
                                },
                                "end": {
                                  "line": 31,
                                  "column": 31
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 1142,
                                "end": 1148,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 31
                                  }
                                },
                                "name": "errors"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 1142,
                                "end": 1148,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 31
                                  }
                                },
                                "name": "errors"
                              }
                            },
                            {
                              "type": "Property",
                              "start": 1150,
                              "end": 1157,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 33
                                },
                                "end": {
                                  "line": 31,
                                  "column": 40
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 1150,
                                "end": 1157,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 40
                                  }
                                },
                                "name": "section"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 1150,
                                "end": 1157,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 40
                                  }
                                },
                                "name": "section"
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Validates the resources of a section against resources models\n * @param {Object} section - the section to validate\n * @param {Object} models - the models to use for validation\n * @param {function(err: null, output: Object)} callback - callbacks a list of validation errors descriptions, and unmodified sections\n ",
            "start": 225,
            "end": 546,
            "loc": {
              "start": {
                "line": 9,
                "column": 0
              },
              "end": {
                "line": 14,
                "column": 3
              }
            },
            "range": [
              225,
              546
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Validates the resources of a section against resources models\n * @param {Object} section - the section to validate\n * @param {Object} models - the models to use for validation\n * @param {function(err: null, output: Object)} callback - callbacks a list of validation errors descriptions, and unmodified sections\n ",
          "start": 225,
          "end": 546,
          "loc": {
            "start": {
              "line": 9,
              "column": 0
            },
            "end": {
              "line": 14,
              "column": 3
            }
          },
          "range": [
            225,
            546
          ]
        }
      ]
    }
  ]
}