from __future__ import annotations

from django.urls import path

from simorgh.apps.schema.views import EntitySchemaDetailView, EntitySchemaListView

app_name = "platform_schema"

urlpatterns = [
    path("", EntitySchemaListView.as_view(), name="list"),
    path("<str:name>/", EntitySchemaDetailView.as_view(), name="detail"),
]
