# Path: zenodo/modules/records/serializers/schemas/schemaorg.py
# def _serialize_identifiers(ids, relations=None):
# def _serialize_subjects(ids):
# def format_files_rest_link(bucket, key, scheme='https'):
#     def get_id(self, obj):
#     def get_name(self, obj):
#     def get_alternate_name(self, obj):
#     def get_geo(self, obj):
#     def get_dates(self, obj):
#     def get_context(self, obj):
#     def get_doi(self, obj):
#     def get_type(self, obj):
#     def get_url(self, obj):
#     def get_citation(self, obj):
#     def get_is_part_of(self, obj):
#     def get_has_part(self, obj):
#     def get_sameAs(self, obj):
#     def get_subjects(self, obj):
#     def get_content_url(self, obj):
#     def hide_closed_files(self, obj):
#     def get_content_url(self, obj):
#     def get_thumbnail_url(self, obj):
#     def get_code_repository_url(self, obj):
#         def is_github_url(id):
# class Person(Schema):
# class Language(Schema):
# class Place(Schema):
# class MeetingEvent(Schema):
# class CreativeWork(Schema):
# class Distribution(Schema):
# class Dataset(CreativeWork):
# class ScholarlyArticle(CreativeWork):
# class ImageObject(CreativeWork):
# class Collection(CreativeWork):
# class Book(CreativeWork):
# class PresentationDigitalDocument(CreativeWork):
# class MediaObject(CreativeWork):
# class SoftwareSourceCode(CreativeWork):
# class Photograph(CreativeWork):
#     CONTEXT = "https://schema.org/"


from datetime import datetime
from flask_security import login_user
from zenodo.modules.records.serializers import schemaorg_jsonld_v1
from zenodo.modules.records.serializers.schemaorg import \
    ZenodoSchemaOrgSerializer
from zenodo.modules.records.serializers.schemas import schemaorg
# Copyright (C) 2017 CERN.
#
# Zenodo is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Zenodo is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Zenodo. If not, see <http://www.gnu.org/licenses/>.
#
# In applying this licence, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

"""Unit tests Zenodo JSON-LD serializer."""

from __future__ import absolute_import, print_function




SCHEMA_ORG_TYPES = [
    ('poster', None, schemaorg.CreativeWork),
    ('presentation', None, schemaorg.PresentationDigitalDocument),
    ('dataset', None, schemaorg.Dataset),

# Path: zenodo/modules/records/serializers/schemas/schemaorg.py
# def _serialize_identifiers(ids, relations=None):
# def _serialize_subjects(ids):
# def format_files_rest_link(bucket, key, scheme='https'):
#     def get_id(self, obj):
#     def get_name(self, obj):
#     def get_alternate_name(self, obj):
#     def get_geo(self, obj):
#     def get_dates(self, obj):
#     def get_context(self, obj):
#     def get_doi(self, obj):
#     def get_type(self, obj):
#     def get_url(self, obj):
#     def get_citation(self, obj):
#     def get_is_part_of(self, obj):
#     def get_has_part(self, obj):
#     def get_sameAs(self, obj):
#     def get_subjects(self, obj):
#     def get_content_url(self, obj):
#     def hide_closed_files(self, obj):
#     def get_content_url(self, obj):
#     def get_thumbnail_url(self, obj):
#     def get_code_repository_url(self, obj):
#         def is_github_url(id):
# class Person(Schema):
# class Language(Schema):
# class Place(Schema):
# class MeetingEvent(Schema):
# class CreativeWork(Schema):
# class Distribution(Schema):
# class Dataset(CreativeWork):
# class ScholarlyArticle(CreativeWork):
# class ImageObject(CreativeWork):
# class Collection(CreativeWork):
# class Book(CreativeWork):
# class PresentationDigitalDocument(CreativeWork):
# class MediaObject(CreativeWork):
# class SoftwareSourceCode(CreativeWork):
# class Photograph(CreativeWork):
#     CONTEXT = "https://schema.org/"


# Path: tests/unit/records/test_schemas_schemaorg_jsonld.py
from datetime import datetime
from flask_security import login_user
from zenodo.modules.records.serializers import schemaorg_jsonld_v1
from zenodo.modules.records.serializers.schemaorg import \
    ZenodoSchemaOrgSerializer
from zenodo.modules.records.serializers.schemas import schemaorg

# Copyright (C) 2017 CERN.
#
# Zenodo is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Zenodo is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Zenodo. If not, see <http://www.gnu.org/licenses/>.
#
# In applying this licence, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

"""Unit tests Zenodo JSON-LD serializer."""

from __future__ import absolute_import, print_function




SCHEMA_ORG_TYPES = [
    ('poster', None, schemaorg.CreativeWork),
    ('presentation', None, schemaorg.PresentationDigitalDocument),
    ('dataset', None, schemaorg.Dataset),

    ('image', 'figure', schemaorg.ImageObject),