---
# System prepended metadata

title: Unidict protocol v1

---

# Unidict protocol v1
```
input ArticleIdInput {
  id: String!
}

type DictArticle {
  eventDate: NaiveDateTime!
  eventCoordinate: String!
}

enum DictArticleDataType {
  INTEGER
  FLOAT
  STRING
  BOOLEAN
  DATE
  COORDINATES
  PHONE
  EMAIL
  IMAGE
  FILE
  CHOICE_FROM_VAR
  DICT_LINK
  DATETIME
  PASSPORT
}

type DictArticleField {
  name: String!
  numbering: Int!
  title: String!
  dataType: DictArticleDataType!
  dataIsList: Boolean!
}

input DictArticleFieldCondition {
  name: String!
  condition: DictValueCondition!
  value: String!
}

type DictInfo {
  hasEvents: Boolean!
  hasCoordinates: Boolean!
  hasPersonalDataInName: Boolean!
  articleNameFormat: String!
}

enum DictValueCondition {
  EQUAL
  LESS
  GREATER
  CONTAINS
}


# ISO 8601 combined date and time without timezone.
#
# # Examples
#
# * `2015-07-01T08:59:60.123`,
scalar NaiveDateTime
```
```
type QueryRoot {
  getDictInfo: DictInfo!
  getFields: [DictArticleField!]!
  getArticles(
    filter: [DictArticleFieldCondition!]!
    pageNumber: Int!
    pageSize: Int!
  ): [DictArticle!]!
  getArticle(articleId: ArticleIdInput!): DictArticle!
}
```